<?php


namespace app\api\controller;

use app\api\service\Accesstoken as accessTokenModel;
//yr.com/api/Accesstoken/getToken
class Accesstoken extends BaseApi{
    //获取access_token
    public function getToken(){
        $accessTokenModel = new accessTokenModel();
        $item = $accessTokenModel->getToken();
        return $item;
    }
}